import Vue from 'vue'
import App from './App.vue'

import '@/assets/iconfont/iconfont.css'
import '@/assets/iconfont/config.css'

Vue.config.productionTip = false

import VueRouter from "vue-router";

Vue.use(VueRouter);

import router from "@/router/router";

// 引入element-ui
import ElementUI from 'element-ui';
// 引入element-ui的样式
import 'element-ui/lib/theme-chalk/index.css';
// 启用ElementUI
Vue.use(ElementUI);

import axios from '@/axios/axios'

Vue.prototype.$axios = axios;

// 引入vuex仓库
import store from "@/store/store";

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')
